<template>
  <div class="primary" @click="clickMethods">
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: "primaryButton",
  methods: {
    clickMethods() {
      this.$emit('click')
    }
  }
}
</script>

<style scoped>
  .primary{
    background: #0750FF;
    border-radius: 2px;
    padding: 4px 0;
    text-align: center;
    font-size: 14px;
    font-family: PingFang SC;
    font-weight: 500;
    color: #FFFFFF;
    cursor: pointer;
  }
</style>
